﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Growatt.CreateCCode
{
    public  class FileInfoDataModel
    {
        public FileInfoDataModel(List<string> m3Type, List<string> count, List<string> cS_SpecNo, List<string> dev_SafetyPara_c, List<string> dev_SafetyPara_h, List<string> eE_ST_SAFTYINFO, List<string> stEESaftyInfo, List<string> sT_SAFTY_DEF, List<string> stSafty_DefVaule, List<string> safetySerial, List<string> length_Eumn, List<string> attribute_Enum, List<string> parameter_Enum, List<string> parameter_VoltLevel, List<string> parameter_GetSafetyIndexFromTable)
        {
            M3Type = m3Type;
            Count = count;
            this.cS_SpecNo = cS_SpecNo;
            Dev_SafetyPara_c = dev_SafetyPara_c;
            Dev_SafetyPara_h = dev_SafetyPara_h;
            EE_ST_SAFTYINFO = eE_ST_SAFTYINFO;
            this.stEESaftyInfo = stEESaftyInfo;
            ST_SAFTY_DEF = sT_SAFTY_DEF;
            this.stSafty_DefVaule = stSafty_DefVaule;
            SafetySerial = safetySerial;
            Length_Eumn = length_Eumn;
            Attribute_Enum = attribute_Enum;
            Parameter_Enum = parameter_Enum;
            Parameter_VoltLevel = parameter_VoltLevel;
            Parameter_GetSafetyIndexFromTable = parameter_GetSafetyIndexFromTable;
        }



        /// <summary>
        /// 芯片类型
        /// </summary>
        public List<string> M3Type { get; set; }
        /// <summary>
        /// 安规总数量
        /// </summary>
        public List<string>  Count { get; set; }
        /// <summary>
        /// 安规总数量宏
        /// </summary>
        public List<string> cS_SpecNo { get; set; }
        /// <summary>
        /// 生成.C文件名
        /// </summary>
        public List<string> Dev_SafetyPara_c { get; set; }
        /// <summary>
        /// 生成.h文件名
        /// </summary>
        public List<string> Dev_SafetyPara_h { get; set; }
        /// <summary>
        /// M3结构体名
        /// </summary>
        public List<string> EE_ST_SAFTYINFO { get; set; }
        /// <summary>
        /// M3结构体变量名
        /// </summary>
        public List<string> stEESaftyInfo { get; set; }

        /// <summary>
        ///M3默认值限结构体名
        /// </summary>
        public List<string> ST_SAFTY_DEF { get; set; }

        /// <summary>
        ///  M3默认值限结构体变量名
        /// </summary>
        public List<string> stSafty_DefVaule { get; set; }

        /// <summary>
        /// M3安规号数组
        /// </summary>
        public List<string> SafetySerial { get; set; }



        /// <summary>
        ///  数据长度枚举
        /// </summary>
        public List<string> Length_Eumn { get; set; }

        /// <summary>
        ///  上下限结构体数组元素个数枚举
        /// </summary>
        public List<string> Attribute_Enum { get; set; }

        /// <summary>
        /// 参数类型枚举
        /// </summary>
        public List<string> Parameter_Enum { get; set; }
        public List<string> Parameter_VoltLevel { get;  set; }
        public List<string> Parameter_GetSafetyIndexFromTable { get;  set; }
    }
}
